import com.leyou.common.constants.RedisConstants;
import com.leyou.timer.TimerApplication;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.Set;

@SuppressWarnings("ALL")
/**
 * @Description :
 * @author     :LD
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = TimerApplication.class)
public class TT {
    @Autowired
    RedisTemplate redisTemplate;

    @Test
    public void t1(){
        String dd = (String) redisTemplate.opsForValue().get("dd");
        System.err.println(dd);
    }
}
